
<fieldset id="permissions-form">
    <legend>Specify this items permissions</legend>
    <div class="permissions-form-left">
        <div class="label">The Users:</div>
        <select size="6" name="permissions_users[0][]" multiple>
            <?php
            foreach($user_list as $user){
                echo '<option value='.$user['id'].'>'.$user['username'].'</option>';
            }
            ?>
        </select>
    </div>
    <div class="permissions-form-right">
        <div class="label">Have access to:</div>
        <div><input type="checkbox" name="permissions_access[0][]" value="edit"> <?php echo $this->lang->line('codex_modify'); ?></div>
        <div><input type="checkbox" name="permissions_access[0][]" value="delete"> <?php echo $this->lang->line('codex_delete'); ?></div>
    </div>
    <div class="clear"></div>
</fieldset>

